package com.example.spring_mysql.excel;

import com.alibaba.excel.annotation.ExcelProperty;

public class TranslationRow {

    @ExcelProperty(index = 0) // A列
    private String arName; // 阿拉名称（阿拉伯文）

    @ExcelProperty(index = 1) // B列
    private String arMeaning; // 阿拉伯释义

    @ExcelProperty(index = 2) // C列
    private String enName; // 阿拉名称（英文拼写）

    @ExcelProperty(index = 3) // D列
    private String enExplanation; // 英文释义

//    // 如果你还想要法语部分可以继续添加
//    @ExcelProperty(index = 8) // I列
//    private String frName;
//
//    @ExcelProperty(index = 9) // J列
//    private String frExplanation;

    public String getArName() {
        return arName;
    }

    public void setArName(String arName) {
        this.arName = arName;
    }

    public String getArMeaning() {
        return arMeaning;
    }

    public void setArMeaning(String arMeaning) {
        this.arMeaning = arMeaning;
    }

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    public String getEnExplanation() {
        return enExplanation;
    }

    public void setEnExplanation(String enExplanation) {
        this.enExplanation = enExplanation;
    }

//    public String getFrName() {
//        return frName;
//    }
//
//    public void setFrName(String frName) {
//        this.frName = frName;
//    }
//
//    public String getFrExplanation() {
//        return frExplanation;
//    }
//
//    public void setFrExplanation(String frExplanation) {
//        this.frExplanation = frExplanation;
//    }
}
